#include "mainwindow.h"
#include "ui_mainwindow.h"

#include <QFileDialog>

MainWindow::MainWindow(QWidget *parent)
    : QMainWindow(parent)
    , ui(new Ui::MainWindow)
{
    ui->setupUi(this);


}

MainWindow::~MainWindow()
{
    delete ui;
}


void MainWindow::on_pushButton_openFile_clicked()
{
    QString filePath = QFileDialog::getOpenFileName(this);
    ui->label->setText(filePath);
}

void MainWindow::on_pushButton_saveFile_clicked()
{
    QString filePath = QFileDialog::getSaveFileName(this);
    ui->label->setText(filePath);
}
